#pragma once
#include "CTransform.h"

class CScaleTransform :
	public CTransform
{

protected: 
	CScaleTransform(const CScaleTransform & original, HRESULT & hr);
private: 
	CScaleTransform(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual HRESULT Clone(CNoParentShareableDependencyObject * * ppClone);
	virtual HRESULT CloneForTarget(CRenderTarget * pRenderTarget, CTransform * * ppTransform);
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT SetValue(CDependencyProperty * pdp, CValue * pValue);
	virtual void GetTransform(CMILMatrix * pMatrix);
	struct XPOINTF m_ptCenter;

	XFLOAT m_eScaleX;
	XFLOAT m_eScaleY;
};